home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
du.arc
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1990-10-05
|
1KB
|
58 lines
# @(#) Makefile 1.2 90/09/08 14:38:50
# Makefile for "du" (generated by makemake version 1.00.09)
# Created by bin@chinacat on Sat Sep 8 13:59:09 CDT 1990
SHELL = /bin/sh
CC = cc
DEFS =
COPTS = -O
LOPTS =
LIBS = -lx
DEBUG = -g -DReg=
LINTFLAGS = -DLINT
TARG = du
OTHERS =
SRCS = du.c duentry.c fsinfo.c
OBJS = du.o duentry.o fsinfo.o
# Any edits below this line will be lost if "makemake" is rerun!
# Commands may be inserted after the '#%custom' line at the end of this file.
CFLAGS = $(COPTS) $(DEFS) # $(DEBUG)
LFLAGS = $(LOPTS) # $(DEBUG)
all: $(TARG) $(OTHERS)
install: all ; inst Install
clean: ; rm -f $(TARG) $(OBJS) a.out core $(TARG).lint
clobber: clean ; inst -u Install
lint: $(TARG).lint
$(TARG): $(OBJS)
$(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
$(TARG).lint: $(TARG)
lint $(LINTFLAGS) $(DEFS) $(SRCS) $(LIBS) > $@
du.o: du.c du.h patchlevel.h
duentry.o: du.h duentry.c
fsinfo.o: du.h fsinfo.c
make: ;
makemake -i -v1.00.09 -aMakefile \
-DSHELL='$(SHELL)' -DCC='$(CC)' -DDEFS='$(DEFS)' \
-DCOPTS='$(COPTS)' -DLOPTS='$(LOPTS)' -DLIBS='$(LIBS)' \
-DDEBUG='$(DEBUG)' -DLINTFLAGS='$(LINTFLAGS)' \
-DOTHERS='$(OTHERS)' $(TARG) $(SRCS)
#%custom - commands below this line will be maintained if 'makemake' is rerun
LIST = README du.h patchlevel.h $(SRCS) Makefile du.man ngsizes
shar: du.shar
du.shar: $(LIST) ; shar $(LIST) > $@